
import { service as axios } from '@/api/_service'

export function doGet (url, pram) {
  return axios({
    url: url,
    method: 'get',
    params: pram
  })
}

export function doPost (url, pram) {
  return axios({
    url: url,
    method: 'post',
    data: pram
  })
}
export function doPut (url, pram) {
  return axios({
    url: url,
    method: 'put',
    data: pram
  })
}

export function doDelete (url, pram) {
  return axios({
    url: url,
    method: 'delete',
    data: pram
  })
}
